/*
 * @Author: xiaosihan 
 * @Date: 2024-03-10 08:38:10 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-03-17 21:07:18
 */

.table {
    border-color: #3DAFFF;
}

.windowsTypeModal {
    position: relative;
    color: #ffffff !important;

    .title {
        font-size: 16px;
        text-align: center;
        font-weight: bold;
        margin-bottom: 10px;
    }

    :global(.ant-modal-content) {
        background: none;
        background: linear-gradient(90deg, rgba(0, 24, 34, .46) 0%, rgba(0, 22, 42, .93) 100%);

        :global(.ant-modal-close-x) {
            path {
                color: #f31d68 !important;
            }
        }
    }

    :global(.ant-modal-header) {
        background: none;
        border-bottom: 1px solid #3DAFFF !important;

        :global(.ant-modal-title) {
            color: #3dafff !important;
        }
    }
}

.state {
    color: #3dafff;
    display: block;
    border-radius: 6px;
    pointer-events: all;
    margin: -8px;

    :global(.ant-table-container) {
        border-color: #1890ff !important;
    }

    table {
        border-color: #1890ff !important;
    }

    :global(.ant-table) {
        background: none !important;
    }

    :global(.ant-table-thead > tr > th) {
        font-size: 15px;
        color: #1890ff !important;
        background: none !important;
        padding: 2px !important;
        border-color: #1890ff !important;
    }

    :global(.ant-table-tbody > tr > td) {
        background: none !important;
        text-align: left;
        padding: 2px !important;
        border-color: #1890ff !important;
    }

    :global(.ant-pagination-prev > button),

    :global(.ant-pagination-next > button),
    :global(.ant-pagination-item) {
        color: #3dafff !important;
        background: none !important;

        a {
            color: #3dafff !important;
        }
    }

    .state_item {
        color: #3dafff;
        margin: 10px 0px;
        font-size: 14px;
        display: block;
        line-height: 16px;

        .state_item_name {
            display: inline-block;
            font-size: 14px;
            color: #3DAFFF !important;
            max-width: 76px;
        }

        .state_item_color {
            display: inline-block;
            width: 16px;
            height: 16px;
            background-color: #3dafff;
            border-radius: 4px;
            margin: 0px 40px 0px 4px;
            vertical-align: middle;
        }

        .look {
            display: inline-block;
            margin-left: 16px;
            cursor: pointer;
        }
    }
}

.state_table {
    position: relative;

    td {
        padding: 0px !important;
        text-align: center;
    }

    .state_item_name {
        display: inline-block;
        font-size: 14px;
        color: #3dafff !important;
        max-width: 110px;
        white-space: pre;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }

    .state_item_color {
        display: inline;
        width: 40px;
        height: 30px;
        float: left;
    }
}


.table {
    max-height: 500px;
    overflow-y: auto;

    :global(.ant-table) {
        color: #3dafff !important;
        background: none;
    }

    :global(.ant-table-thead > tr > th) {
        font-size: 15px;
        color: #ffffff !important;
        background: none;
        border-color: #1890ff !important;
        font-weight: bold;
        font-size: 14px;
        text-align: center;
    }

    :global(.ant-table-tbody > tr > td) {
        color: #ffffff !important;
        background: none !important;
        border-color: #1890ff !important;
        border-bottom-width: 3px;
        text-align: center;
    }

    :global(.ant-table-container) {
        color: #3dafff !important;
        background: none;
        border-color: #1890ff !important;
    }

    table {
        color: #3dafff !important;
        background: none;
        border-color: #1890ff !important;
    }

    .typeName {
        display: inline-block;
        height: 25px;
        line-height: 25px;
    }

    .colorBlock {
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 4px;
        color: #3dafff;
        text-shadow: 1px 1px 1px black;
        user-select: text;
        position: relative;
        top: 2px;
    }

    &::-webkit-scrollbar {
        width: 4px;
        height: 4px;
        background-color: rgba(0, 0, 0, 0);
    }

    &::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
        border-radius: 4px;
        background-color: rgba(0, 0, 0, 0);
    }

    &::-webkit-scrollbar-thumb {
        border-radius: 4px;
        box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
        background-color: #1890ff;
    }



}

.windowRenderer {

    width: 550px;
    background-color: aliceblue;
}

.typetTable {
    margin-top: -1px;
    border-color: #1890ff;
    width: 100%;

    td {
        padding: 8px;
        color: #3dafff !important;
    }
}